// ==============================================================================================
// PowerPointTreeNode.cs
//
// Created by: NI, 2007.03.27
// Revised by: NI, 2007.11.23
// ==============================================================================================
using RibbonExplorer.Entities;

namespace RibbonExplorer.Tree
{
  // ==============================================================================================
  /// <summary>
  /// This tree node represents Microsoft PowerPoint 2007
  /// </summary>
  // ==============================================================================================
  public sealed class PowerPointTreeNode : OfficeAppTreeNode
  {
    // --------------------------------------------------------------------------------------------
    /// <summary>
    /// Creates the tree node instance
    /// </summary>
    // --------------------------------------------------------------------------------------------
    public PowerPointTreeNode()
      : 
      base(new OfficeApp("PowerPoint2007", "Microsoft PowerPoint 2007"))
    {
    }

    // --------------------------------------------------------------------------------------------
    /// <summary>
    /// Inits ribbons belonging to this application
    /// </summary>
    // --------------------------------------------------------------------------------------------
    protected override void InitRibbons()
    {
      Application.AddRibbon(new Ribbon("PowerPointRibbon", "PowerPoint Document Ribbon", Application));
    }
  }
}
